package com.campus.dao;

import com.campus.model.User;
import java.util.List;
/**
 * @desc:
 * @author: Tournesol234
 * @date: 2024/11/22 14.41
 */
public interface UserDao {

    User login(String loginName, String password);

    int addUser(User user);

    int deleteUser(Integer userId);

    int updateUser(User user);

    List<User> queryUser(String keyword);
}
